#define _CRT_SECURE_NO_WARNINGS 1 
#include <iostream>
using namespace std;
#include "HashBucket.h"

void test1()
{
	cgc::HashTable<int, int> hs;
	int arr[] = { 19,30,5,36,13,20,21,12,24,96,73,93,83,89,20 };

	for (auto e : arr)
	{
		hs.Insert({ e, e });
	}
	/*auto pos1 = hs.Find(83);
	auto pos2 = hs.Find(3);*/

	//hs.Erase(93);
	/*cout << hs.Erase(89) << endl;
	hs.Erase(30);*/
	/*auto pos3 = hs.Find(89);*/
	int x = 0;
}

void test2()
{
	cgc::HashTable<string, string> hs;
	string arr[] = { "insert","sort","delete","find","modify"};
	for (auto e : arr)
	{
		hs.Insert({ e, e });
	}
	int x = 0;

}

void test3()
{
	cgc::HashTable<int, int> hs;
	for (int i = 100; i <= 170; i++)
	{
		hs.Insert({ i,i });
	}

	return;
}

int main()
{
	test3();
	return 0;
}